#include<iostream>
#include<iomanip>
using namespace std;
int main(){
	char buffer1[10],buffer2[10];
	cin.width();
cin>>buffer1>>buffer2;
cout.width(5);
cout<<buffer1<<' '<<buffer2<<"\n";
return 0;
}